package com.bucg.cjcloud.gb28181.common.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * PlatformEntity..
 *
 * @author Lizhong
 * @date 2019/12/10
 */

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor()
@Entity
@Table
public class PlatformEntity extends AbstractEntity {


    @Column(unique = true)
    private String deviceId;


    private LocalDateTime crateRime;


    /**ip:port**/
    private String realAddr;




}
